//
//  BoxView.m
//  cliqset
//
//  Created by David Hinson on 2/11/09.
//  Copyright 2009 Cliqset, Inc.. All rights reserved.
//

#import "BoxView.h"


@implementation BoxView


- (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor whiteColor];
    }
    return self;
}

- (void)setBackgroundColor:(UIColor *)newBGColor {
}

- (void)drawRect:(CGRect)rect {
    // Drawing code
	CGContextRef ctx = UIGraphicsGetCurrentContext();
    CGContextClearRect(ctx, rect);
	
	//CGContextSetRGBFillColor(ctx, 248.0/255.0, 248.0/255.0, 248.0/255.0, 1.0);
	CGContextSetRGBFillColor(ctx, 1.0, 1.0, 1.0, 1.0);
	CGContextSetRGBStrokeColor(ctx, 220.0/255, 218.0/255.0, 216.0/255.0, 1.0);
	CGContextFillRect(ctx, rect);
	CGContextStrokeRect(ctx, rect);
}


- (void)dealloc {
    [super dealloc];
}


@end
